<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="css/common.css" type="text/css" />

<link href="css/adminstyle.css" rel="stylesheet" type="text/css">

<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>

<script>

var select1 = new Array(<?=count($template)?>);

<?

foreach ($template as $k=>$v){

?>

 select1[<?=$k?>] = new Array();

 select1[<?=$k?>][0] = new Option("请选择", "0");

 	<?

	foreach($v as $k1=>$v1){

	?>

	select1[<?=$k?>][<?=$k1+1?>] = new Option("<?=$v1['title']?>", "<?=$v1['id']?>");

	

<?

	}

}

?>

function redirec(x,dx){

	var temp = dx; 

	temp.options.length=0;

	for (i=0;i<select1[x].length;i++){

		temp.options[i]=new Option(select1[x][i].text,select1[x][i].value);

	}

}

</script>

<title>管理区域</title>



</head>



<body>
<div id="man_zone">
<div style="background-color:#FFFFFF ">

<form action="User_subSend.html" method="post">

<table width="98%" border="0" cellspacing="1" cellpadding="5" class="tableborder" style="margin:10px auto;">

  <tr class="header">

      <td colspan="4"  class="left_title_2adminssd" >会员搜索条件</td>

   </tr>

  <tr >

    <td   class="left_title_2adminssd">注册时间</td>

    <td bgcolor="#FFFFFF" width="40%">

    <input name="start_time" type="text" onClick="WdatePicker()" />至 

	<input name="over_time" type="text" value=""  onClick="WdatePicker()" /></td>

    <td class="left_title_2adminssd" >用户名</td>

    <td bgcolor="#FFFFFF"  width="40%"><input name="english_name" type="text"  id="english_name"/></td>

  </tr>

  <tr>

    <td class="left_title_2adminssd">电话</td>

    <td bgcolor="#FFFFFF"><input name="phone" type="text" id="phone"/></td>

    <td class="left_title_2adminssd">Email</td>

    <td bgcolor="#FFFFFF"><input name="email" type="text" id="email"/></td>

  </tr>

  <tr>

    <td class="left_title_2adminssd">发送方式</td>

    <td bgcolor="#FFFFFF" colspan="3"><select name="way"  onChange="redirec(this.value,document.getElementById('template'))">

	<?=page_modifier_options($page_msg_option, $page_msg_selected)?>

    </select></td>

  </tr>

          <tr align="right">

            <td colspan="4" align="left" bgcolor="#FFFFFF">发信息请编写内容（短信不支持HTML代码）</td>

      </tr>

          <tr>

            <td class="left_title_2adminssd">模板</td>

            <td bgcolor="#FFFFFF"><select name="template"  id="template">

              </select></td>

            <td class="left_title_2adminssd">标题</td>

            <td bgcolor="#FFFFFF"><input type="text" name="title" id="textfield" size="50" /></td>

      </tr>

          <tr>

            <td class="left_title_2adminssd">内容</td>

            <td bgcolor="#FFFFFF" colspan="3"><textarea name="content" id="textfield" rows="8" cols="50"></textarea></td>

      </tr>

        

   

  <tr>

    <td align="right" bgcolor="#FFFFFF">&nbsp;</td>

    <td bgcolor="#FFFFFF" colspan="3" align="center"><input class="PublicBot"  name="input" type="submit" value="发送" /></td>

  </tr>

</table>

</form>
</div>
</div>
<script>

redirec(1,document.getElementById('template'));

</script>

</body>

</html>

